home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 023a / inctrl.zip / GO.BAT < prev    next >
DOS Batch File  |  1991-08-27  |  3KB  |  144 lines

  1. echo off
  2. IF NOT EXIST ECOH.COM A:
  3. cls
  4. echo  
  5. ECHO  Welcome to the installation procedure for IN-CONTROL [TM]!
  6. echo  
  7. ECOH ══════════ Software so powerful it redefines your expectations ══════════
  8. echo  
  9. ECHO                              by Paul Sax
  10. echo  
  11. ECHO Relax and enjoy yourself.  Though this program is powerful,
  12. ECHO nothing could be easier than this installation procedure.
  13. echo  
  14. ECHO Would you like to install this program on a Hard Drive?
  15. echo  
  16. :YESNO
  17. YESNO
  18. CLS
  19. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
  20. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
  21. GOTO YESNO
  22. :YESNEXT
  23. CLS
  24. ECOH For you to install this program on a hard drive, this disk must be on Drive A.
  25. echo  
  26. ECHO Is this floppy on drive A now?
  27. echo  
  28. YESNO
  29. CLS
  30. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES 
  31. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO1
  32. GOTO YESNEXT
  33. :YES1
  34. CLS
  35. ECHO Would you like to install this program on a floppy-based system?
  36. echo  
  37. YESNO
  38. CLS
  39. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES2
  40. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO END
  41. GOTO YES1
  42. :YES
  43. A:
  44. CLS
  45. echo  
  46. ECOH ══════════ Select the Hard drive you want to install the program on: ══════════
  47. echo  
  48. echo  
  49. echo           C = Drive C           D = Drive D
  50. echo           E = Drive E           F = Drive F
  51. echo           G = Drive G
  52. :INPUT
  53. echo  
  54. echo  
  55.              INPUT            (Pick a letter.)
  56. IF ERRORLEVEL 72 GOTO INPUT
  57. IF ERRORLEVEL 71 GOTO G
  58. IF ERRORLEVEL 70 GOTO F     
  59. IF ERRORLEVEL 69 GOTO E     
  60. IF ERRORLEVEL 68 GOTO D     
  61. IF ERRORLEVEL 67 GOTO C     
  62. IF ERRORLEVEL 67 GOTO C
  63. REM IF ERRORLEVEL 66 GOTO B
  64. REM IF ERRORLEVEL 65 GOTO A
  65. GOTO INPUT
  66. :C
  67. CLS
  68. echo  
  69. INSTALL H C
  70. :D
  71. CLS
  72. echo  
  73. INSTALL H D
  74. :E
  75. CLS
  76. echo  
  77. INSTALL H E
  78. :F
  79. CLS
  80. echo  
  81. INSTALL H F
  82. :G
  83. CLS
  84. echo  
  85. INSTALL H G
  86. :NO
  87. echo  
  88. ECHO To install this for a floppy based system, this disk must be on Drive B.
  89. GOTO END
  90. :NO1
  91. CLS
  92. echo  
  93. ECOH To install this program, move this disk to drive A and re-execute 'GO' there.
  94. echo  
  95. echo If you have no choice but to install this program from drive B, 
  96. echo then execute this command now in DOS:
  97. echo  
  98. echo  
  99. echo                 ASSIGN A=B     {=====  you enter this, follwed by Enter 
  100. echo  
  101. echo  
  102. echo Upon your completion of the ASSIGN command, please enter this command:
  103. echo  
  104. echo  
  105. echo                 A:             {=====  you enter this, follwed by Enter 
  106. echo  
  107. echo  
  108. echo After you have entered 'A:', you will observe the light come on for drive B.
  109. echo  
  110. echo  
  111. echo Then continue on drive B as though you were on drive A.
  112. echo  
  113. GOTO END
  114. :YES2
  115. CLS
  116. echo  
  117. ECHO Beginning with version 4.0 of this program, it will not operate 
  118. ECHO on a floppy-based system.  
  119. echo  
  120. GOTO END
  121. ECHO This disk must be on drive B to manufacture those three disks. 
  122. ECHO Each disk must be 720 kb or greater.
  123. ECHO Are you in drive B now?
  124. echo  
  125. YESNO
  126. CLS
  127. IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
  128. IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO NO3
  129. GOTO YES2
  130. :YES3
  131. CLS
  132. INSTALL F 2
  133. :NO3
  134. CLS
  135. echo  
  136. echo To install this program, move this disk to drive B and re-execute 'GO' there.
  137. GOTO END
  138. :NO2
  139. CLS
  140. echo  
  141. :END
  142. echo  
  143.  
  144.